代码简化重构:在不改行为的前提下降低复杂度
介绍 SkillHub 上的「代码简化重构」技能,坐标 @org-b6kzcl68/code-simplification,版本 1.0.0,由重庆途光网络传媒有限责任公司发布,分类 dev-programming,无需 API Key。该技能在不改变代码行为的前提下降低复杂度、提升可读性与可维护性,遵循精确保留行为、遵循项目约定、清晰优先于炫技、防止过度简化、只改动当前范围五条原则,提供嵌套逻辑、长函数、误导性命名、重复代码等识别信号,以及 TypeScript、Python、React 的渐进式改写示例。触发场景包括功能已通过测试但实现臃肿、代码审查发现可读性或复杂度问题、时间压力下写出的代码、合并后引入重复与不一致。执行上强调增量修改、每步运行测试、重构与功能变更分开提交、超大范围改动借助自动化工具。已抓取资料中未提供安装命令与配置项,本文未予编造。页面显示评分 100000、下载 1858,与线索页标注的 99045、1764 存在不一致,以页面抓取数据为准。
Read Morecode-simplification:不改变行为的代码简化重构
code-simplification 是重庆途光网络传媒有限责任公司发布的代码简化重构 Skill,分类 dev-programming,版本 1.0.0,不需要 API Key。它在不改变代码行为的前提下降低复杂度、提升可读性,遵循精确保留行为、遵循项目约定、清晰优先于炫技、防止过度简化、只改动当前范围五大原则,针对嵌套逻辑、长函数、误导性命名、重复代码四类信号给出 TypeScript、Python、React 的渐进式改写示例,强调增量修改、每步运行测试、重构与功能变更分开提交。适合功能已通过测试但实现臃肿、代码审查发现复杂度问题的场景。
Read MoreNumpy Wrap:让 NumPy 调用更简洁的 Skill
Numpy Wrap 是一个由社区开发者维护的 Python Agent Skill,旨在简化 NumPy 调用流程,减少重复的样板代码。本文介绍其核心功能、适用场景与注意事项,并提供官方地址。
Read Moredsh-ds-ponytail: DeepSeek Harness Code Simplification Guidance Plugin
dsh-ds-ponytail is a code simplification plugin for DeepSeek Harness, designed to guide models toward generating concise code through explicit instructions. The plugin provides six core skills (ponytail, review, audit, debt, gain, help) and a localized settings page, and can be invoked via commands or gestures. To install it, ensure that the Harness version is >= 0.1.2-alpha.5, and restart the Web profile after installation. Note that the plugin does not activate automatically, and the benchmark data in the gain module comes from upstream sources rather than Harness measurements.
Read MoreIntroduction to the DeepSeek Harness Plugin: dsh-code-simplify (Code Simplification and Abstraction)
The DeepSeek Harness (DSH) Code Simplification Plugin is designed to optimize agent-generated code by addressing issues such as redundancy, over-abstraction, and high complexity. Maintained by user satan9394, its core capabilities include removing redundant code, reducing complexity, and eliminating unnecessary abstractions. The plugin runs with DSH process privileges and is suitable for code post-processing and cleanup scenarios. Since official documentation is currently unavailable, installation and specific usage instructions must be obtained manually via its GitHub repository or skill catalog page, and reviewing source code security is recommended.
Read More